#ifndef ERRORS_H
#define ERRORS_H

#define LOG_NOTHING 0
#define LOG_ERRORS 1
#define LOG_WARNINGS 2
#define LOG_NOTICES 3


#define NO_ERRORS 0
#define E_LOGGER_INIT_FAILED 1
#define E_GRAPHICS_INIT_FAILED 2
#define E_GRAPHICS_LOADTEX_FAILED 201
#define E_PIPELINE_INIT_FAILED 3
#define E_COMPILE_PIXEL_SHADER_FAILED 301
#define E_COMPILE_VERTEX_SHADER_FAILED 302
#define E_CREATE_PIXEL_SHADER_FAILED 303
#define E_CREATE_VERTEX_SHADER_FAILED 304
#define E_DB_CONNECT_FAILED 4
#define E_DB_QUERY_FAILED 401
#define E_INPUT_INIT_FAILED 5
#define E_INPUT_DI_INIT_FAILED 501
#define E_INPUT_KEYBOARD_CREATE_FAILED 502
#define E_INPUT_KEYBOARD_SETDATAFORMAT_FAILED 503
#define E_INPUT_KEYBOARD_SETCOOPERATIVELEVEL_FAILED 504
#define E_INPUT_KEYBOARD_ACQUIRE_FAILED 505
#define E_INPUT_MOUSE_CREATE_FAILED 506
#define E_INPUT_MOUSE_SETDATAFORMAT_FAILED 507
#define E_INPUT_MOUSE_SETCOOPERATIVELEVEL_FAILED 508
#define E_INPUT_MOUSE_ACQUIRE_FAILED 509

#define LOGLEVEL LOG_NOTICES

#endif